<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <%--    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">--%>
    <link rel="icon" href="../../favicon.ico" type="image/x-icon"/>
    <title>更新用户数据</title>
    <link rel="stylesheet" href="../../layui/css/layui.css">
</head>
<body class="layui-layout-body">
<div class="layui-layout layui-layout-admin">
    <div class="layui-header">
        <div class="layui-logo">达理书城</div>
        <!-- 头部区域（可配合layui已有的水平导航） -->
        <ul class="layui-nav layui-layout-left">
            <li class="layui-nav-item"><a href="${pageContext.request.contextPath}/home">控制台</a></li>
            <li class="layui-nav-item"><a href="${pageContext.request.contextPath}/toInsertBook">商品管理</a></li>
            <li class="layui-nav-item"><a href="${pageContext.request.contextPath}/user">用户</a></li>
            <li class="layui-nav-item">
                <a href="${pageContext.request.contextPath}/grzy">网页导航</a>
            </li>
        </ul>
        <ul class="layui-nav layui-layout-right">
            <li class="layui-nav-item">
                <a href="javascript:;">
                    <img src="../../image/tx.jpg" class="layui-nav-img">
                    ${name}
                </a>
            </li>
            <li class="layui-nav-item"><a href="${pageContext.request.contextPath}/userout">退出登录</a></li>
        </ul>
    </div>

    <div class="layui-side layui-bg-black">
        <div class="layui-side-scroll">
            <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
            <ul class="layui-nav layui-nav-tree"  lay-filter="test">
                <li class="layui-nav-item layui-nav-itemed">
                    <a class="" href="${pageContext.request.contextPath}/selectAllBook">所有图书</a>
                    <dl class="layui-nav-child">
                        <dd><a href="${pageContext.request.contextPath}/wxl">文学类</a></dd>
                        <dd><a href="${pageContext.request.contextPath}/dml">动漫类</a></dd>
                        <dd><a href="${pageContext.request.contextPath}/kjl">科技类</a></dd>
                    </dl>
                </li>
                <li class="layui-nav-item">
                    <a href="${pageContext.request.contextPath}/Borrow">关于借阅</a>
                </li>
                <li class="layui-nav-item"><a href="${pageContext.request.contextPath}/journal">本站日志</a></li>
                <li class="layui-nav-item"><a href="">设置</a></li>
            </ul>
        </div>
    </div>

    <div class="layui-body">
        <!-- 内容主体区域 -->
        <br>
        <br>
        <br>
        <form class="layui-form" action="${pageContext.request.contextPath}/toUpdateBook" method="post">
            <div class="layui-form-item">
                <label class="layui-form-label">书号</label>
                <div class="layui-input-inline">
                    <input type="text" name="bookID" required lay-verify="bookID" placeholder="请输入书号" autocomplete="off" class="layui-input" value="${bookID}">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">书名</label>
                <div class="layui-input-inline">
                    <input type="text" name="bookName" required lay-verify="bookName" placeholder="请输入书名" autocomplete="off" class="layui-input" id="pass1" value="${bookName}">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">书籍数量</label>
                <div class="layui-input-inline">
                    <input type="text" name="bookCounts" required lay-verify="bookCounts" placeholder="请输入数量" autocomplete="off" class="layui-input" id="pass2" value="${bookCounts}">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">类别</label>
                <div class="layui-input-inline">
                    <input type="text" name="type" required lay-verify="type" placeholder="请输入类别" autocomplete="off" class="layui-input" value="${type}">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">备注</label>
                <div class="layui-input-inline">
                    <input type="text" name="detail" required lay-verify="detail" placeholder="请备注信息" autocomplete="off" class="layui-input" value="${detail}">
                </div>
            </div>
            <div class="layui-form-item">
                <div class="layui-input-block">
                    <button class="layui-btn" lay-submit lay-filter="formDemo">立即提交</button>
                    <button type="reset" class="layui-btn layui-btn-primary">重置</button>
                    <span>${updateTs}</span>
                </div>
            </div>
        </form>
    </div>

    <div class="layui-footer">
        <!-- 底部固定区域 -->
        &copy 2020-2021 吴劲松|<a href="../../关于我.html" >关于我</a> 501664112@qq.com | 当前在线人数: ${OnlineCount} |
    </div>
</div>
<script type="text/javascript" src="../../js/jquery-3.3.1.js"></script>
</body>
</html>